<h2 class="title">运输管理</h2>
<form action="index.php?c=zy_transport_track&m={%$act%}&post=1" method=post name=frm enctype="multipart/form-data" onSubmit="return Validator.Validate(this,3)">
<table class="tb_term" width="100%">
<tr>
	<td class="tr_td_width01 alignright">运输单号</td>
	<td class="tr_td_width03"><input type=text name="transport_no" value='{%$transport_no%}' class="input_edit_stand txt-normal" dataType="Require" msg=""></td>
	<td class="tr_td_width02 alignright">申请时间</td>
	<td >
		<input type=text name="app_time" class="input_date_edit txt-normal" value='{%$app_time|date_format:"%Y-%m-%d"%}' id="app_time" readonly dataType="Require" msg="">
		<script>
		Calendar.setup({
			inputField     :    "app_time",   // id of the input field
			ifFormat       :    "%Y-%m-%d",       // format of the input field
			showsTime      :    false,
			timeFormat     :    "24"
		});
		</script>
	</td>
</tr>
<tr>
	<td class="alignright">审批单号</td>
	<td><input type=text name="reply_no" value='{%$reply_no%}' class="input_edit_stand txt-normal" dataType="Require" msg=""></td>
	<td class="alignright">起运日期</td>
	<td>
		<input type=text name="start_time"  class="input_date_edit txt-normal" value='{%$start_time|date_format:"%Y-%m-%d"%}' id="start_time" readonly dataType="Require" msg="">
		<script>
		Calendar.setup({
			inputField     :    "start_time",   // id of the input field
			ifFormat       :    "%Y-%m-%d",       // format of the input field
			showsTime      :    false,
			timeFormat     :    "24"
		});
		</script>
	</td>
</tr>
<tr>
	<td class="alignright">预计到货日期</td>
	<td>
		<input type=text name="v_end_time" class="input_date_edit txt-normal"  value='{%$v_end_time|date_format:"%Y-%m-%d"%}' id="v_end_time" readonly  msg="">
		<script>
		Calendar.setup({
			inputField     :    "v_end_time",   // id of the input field
			ifFormat       :    "%Y-%m-%d",       // format of the input field
			showsTime      :    false,
			timeFormat     :    "24"
		});
		</script>
	</td>
	<td class="alignright">到货日期</td>
	<td>
		<input type=text name="end_time" class="input_date_edit txt-normal"  value='{%$end_time|date_format:"%Y-%m-%d"%}' id="end_time" readonly dataType="Require" msg="">
		<script>
		Calendar.setup({
			inputField     :    "end_time",   // id of the input field
			ifFormat       :    "%Y-%m-%d",       // format of the input field
			showsTime      :    false,
			timeFormat     :    "24"
		});
		</script>
	</td>
</tr>
<tr>
	<td class="alignright">总价</td>
	<td>
		<input type=text name="all_price" class="input_date_edit txt-normal"  value='{%$all_price%}' id="all_price" readonly  msg="">
	</td>
	<td class="alignright">采购负责人</td>
	<td>
		<input type=text name="purchase_user" class="input_date_edit txt-normal"  value='{%$purchase_user%}' id="purchase_user" readonly  msg="">
	</td>
</tr>

<tr>
	<td class="alignright">运输方式</td>
	<td>
		<select name="type_id" class="select_edit txt-normal" >
			{%html_options options=$transport_type_arr selected=$type_id%}
		</select>
	</td>
	<td  class="alignright">所属项目</td>
	<td >
		<select name="project_id" class="select_edit02 txt-normal">
		{%html_options options=$project_arr selected=$project_id%}
		</select>
	</td>
</tr>
<tr>
<td  class="alignright">附件</td>
	<td colspan="3"><input type="file" name="file_path" id="file_path" class="txt-normal" size="40"/></td>
</tr>
<tr>
	<td class="alignright">物资描述</td>
	<td colspan="3">
		<textarea cols="70" rows="3" class="textarea_edit txt-normal" id="materials_info" name="materials_info" dataType="Require" msg="">{%$materials_info%}</textarea>
	</td>
</tr>
<tr>
	<td class="alignright">备注</td>
	<td colspan="3">
	<textarea cols="70" rows="3" class="textarea_edit txt-normal" id="info" name="info" >{%$info%}</textarea>
	</td>
</tr>
</table>
<p class="btn_right">
	<input type=hidden name='transport_track_id' id='transport_track_id' value='{%$transport_track_id%}'>
	<button type="submit" class="b-default" hidefocus="true"><span><em>提交</em></span></button>	
	<button type="button" class="b-default" hidefocus="true" onclick="history.go(-1)"><span><em>返回</em></span></button>
</p>
</form>